บทท 4 ข นตอนการทดลอง
|
|
- Arnold Harmon
- 5 years ago
- Views:
Transcription
1 บทท 4 ข นตอนการทดลอง ในบทน จะท าการทดลองในส วนของซ นเซอร ว ดอ ณหภ ม เพ อผลท ได มาใช ในการเข ยน โปรแกรมและท าโครงงานให ได ประส ทธ ภาพข น 4.1 การทดสอบระบบเซ นเซอร ว ตถ ประสงค การทดลอง ว ตถ ประสงค ของการทดลองน เพ อจะท าการทดลองระบบโดยการเข ยนค าส งให เซนเซอร ท างานและตรวจจ บอ ณหภ ม ผ าน Rasberry PI เพ อท าความเข าใจก บระบบของเซนเซอร ว ธ การทดลอง การทดลองจะทดลองการใช งานของเซนเซอร ว ดอ ณหภ ม และลองเข ยนโปรแกรม เพ อให แสดงผลท หน าจอของโปรแกรม 4.1.1โค ดท ใช ก บ เซ นเซอร ว ดอ ณหภ ม DS18B20 ร ปท 4.1 โค ดท ใช ก บ เซ นเซอร ว ดอ ณหภ ม DS18B20
2 แสดงผลค าอ ณหภ ม ท ว ดได จากเซนเซอร DS18B20 ร ปท 4.2แสดงผลค าอ ณหภ ม ท ว ดได จากเซนเซอร DS18B การต อเซ นเซอร ว ดอ ณหภ ม ก บRasberry Pi ร ปท 4.3 แสดงการต อเซ นเซอร ว ดอ ณหภ ม ก บ Rasberry Pi3
3 การทดสอบระบบค ย แพด ร ปท 4.4 การทดสอบระบบ Keypad ว ตถ ประสงค การทดลอง ว ตถ ประสงค ของการทดลองน เพ อจะท าการทดลองระบบโดยการเข ยนคาส งให เซนเซอร ท างานและตรวจจ บอ ณหภ ม ผ าน Rasberry PI เพ อท าความเข าใจก บระบบของค ย แพด ว ธ การทดลอง หน าจอของโปรแกรม การทดลองจะทดลองการใช งานของค ย แพดและลองเข ยนโปรแกรมเพ อให แสดงผลท โค ดท ใช ก บ keypad import RPi.GPIO as GPIO import time GPIO.setmode (GPIO.BCM) MATRIX = [ ['1','2','3','A'],
4 28 ['4','5','6','B'], ['7','8','9','C'], ['*','0','#','D'] ] ROW = [17,27,22,5] COL = [6,13,19,26] for j in range(4): GPIO.setup(COL[j], GPIO.OUT) GPIO.output(COL[j], 1) for i in range (4): GPIO.setup(ROW[i], GPIO.IN, pull_up_down = GPIO.PUD_UP) try: while(true): for j in range (4): GPIO.output(COL[j],0) for i in range(4): if GPIO.input(ROW[i]) == 0: print MATRIX[i][j] time.sleep(1) while (GPIO.input(ROW[i]) == 0): pass GPIO.output(COL[j],1) except KeyboardInterrupt: GPIO.cleanup()
5 การทดสอบระบบหน าจอ LCD ร ปท 4.5 การทดสอบระบบหน าจอ LCD ว ตถ ประสงค การทดลอง ว ตถ ประสงค ของการทดลองน เพ อจะท าการทดลองระบบโดยการเข ยนคาส งให เซนเซอร ท างานและตรวจจ บอ ณหภ ม ผ าน Rasberry PI เพ อท าความเข าใจก บระบบของ LCD16x2 ว ธ การทดลอง ท หน าจอของโปรแกรม การทดลองจะทดลองการใช งานของLCD16x2และลองเข ยนโปรแกรมเพ อให แสดงผล โค ดท ใช ก บ LCD16x2 #import importrpi.gpio as GPIO
6 30 import time # Define GPIO to LCD mapping LCD_RS = 7 LCD_E = 8 LCD_D4 = 25 LCD_D5 = 24 LCD_D6 = 23 LCD_D7 = 18 # Define some device constants LCD_WIDTH = 16 # Maximum characters per line LCD_CHR = True LCD_CMD = False LCD_LINE_1 = 0x80 # LCD RAM address for the 1st line LCD_LINE_2 = 0xC0 # LCD RAM address for the 2nd line # Timing constants E_PULSE = E_DELAY = def main(): # Main program block GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers GPIO.setup(LCD_E, GPIO.OUT) # E GPIO.setup(LCD_RS, GPIO.OUT) # RS GPIO.setup(LCD_D4, GPIO.OUT) # DB4 GPIO.setup(LCD_D5, GPIO.OUT) # DB5 GPIO.setup(LCD_D6, GPIO.OUT) # DB6
7 31 GPIO.setup(LCD_D7, GPIO.OUT) # DB7 # Initialise display lcd_init() while True: # Send some test lcd_string("rasbperry Pi",LCD_LINE_1) lcd_string("16x2 LCD Test",LCD_LINE_2) time.sleep(3) # 3 second delay # Send some text lcd_string(" ",lcd_line_1) lcd_string("abcdefghijklmnop",lcd_line_2) time.sleep(3) # 3 second delay # Send some text lcd_string("raspberrypi-spy",lcd_line_1) lcd_string(".co.uk",lcd_line_2) time.sleep(3) # Send some text lcd_string("follow me on",lcd_line_1) time.sleep(3) deflcd_init(): # Initialise display lcd_byte(0x33,lcd_cmd) # Initialise lcd_byte(0x32,lcd_cmd) # Initialise lcd_byte(0x06,lcd_cmd) # Cursor move direction lcd_byte(0x0c,lcd_cmd) # Display On,Cursor Off, Blink Off
8 32 lcd_byte(0x28,lcd_cmd) # Data length, number of lines, font size lcd_byte(0x01,lcd_cmd) # Clear display time.sleep(e_delay) deflcd_byte(bits, mode): # Send byte to data pins # bits = data # mode = True for character # False for command GPIO.output(LCD_RS, mode) # RS # High bits GPIO.output(LCD_D4, False) GPIO.output(LCD_D5, False) GPIO.output(LCD_D6, False) GPIO.output(LCD_D7, False) if bits&0x10==0x10: GPIO.output(LCD_D4, True) if bits&0x20==0x20: GPIO.output(LCD_D5, True) if bits&0x40==0x40: GPIO.output(LCD_D6, True) if bits&0x80==0x80: GPIO.output(LCD_D7, True) # Toggle 'Enable' pin lcd_toggle_enable() # Low bits GPIO.output(LCD_D4, False)
9 33 GPIO.output(LCD_D5, False) GPIO.output(LCD_D6, False) GPIO.output(LCD_D7, False) if bits&0x01==0x01: GPIO.output(LCD_D4, True) if bits&0x02==0x02: GPIO.output(LCD_D5, True) if bits&0x04==0x04: GPIO.output(LCD_D6, True) if bits&0x08==0x08: GPIO.output(LCD_D7, True) # Toggle 'Enable' pin lcd_toggle_enable() deflcd_toggle_enable(): # Toggle enable time.sleep(e_delay) GPIO.output(LCD_E, True) time.sleep(e_pulse) GPIO.output(LCD_E, False) time.sleep(e_delay) deflcd_string(message,line): # Send string to display message = message.ljust(lcd_width," ") lcd_byte(line, LCD_CMD) for i in range(lcd_width):
10 34 lcd_byte(ord(message[i]),lcd_chr) if name == ' main ': try: main() except KeyboardInterrupt: pass finally: lcd_byte(0x01, LCD_CMD) lcd_string("goodbye!",lcd_line_1) GPIO.cleanup() 4.4 การทดสอบภาพรวมระบบ ร ปท 4.6 การทดสอบภาพรวมระบบ
11 โค ดภาพรวมของระบบ #import importrpi.gpio as GPIO import time import os import os.path import glob os.system('modprobe w1-gpio') os.system('modprobe w1-therm') base_dir = '/sys/bus/w1/devices/' device_folder = glob.glob(base_dir + '28*')[0] device_file = device_folder + '/w1_slave' # Define GPIO to LCD mapping LCD_RS = 7 LCD_E = 8 LCD_D4 = 25 LCD_D5 = 24 LCD_D6 = 23 LCD_D7 = 18 # Define some device constants LCD_WIDTH = 16 # Maximum characters per line LCD_CHR = True LCD_CMD = False LCD_LINE_1 = 0x80 # LCD RAM address for the 1st line LCD_LINE_2 = 0xC0 # LCD RAM address for the 2nd line
12 36 # Timing constants E_PULSE = E_DELAY = MATRIX = [ ['1','2','3','A'], ['4','5','6','B'], ['7','8','9','C'], ['*','0','#','D'] ] ROW = [17,27,22,5] COL = [6,13,19,26] def main(): # Main program block GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers GPIO.setup(LCD_E, GPIO.OUT) # E GPIO.setup(LCD_RS, GPIO.OUT) # RS GPIO.setup(LCD_D4, GPIO.OUT) # DB4 GPIO.setup(LCD_D5, GPIO.OUT) # DB5 GPIO.setup(LCD_D6, GPIO.OUT) # DB6 GPIO.setup(LCD_D7, GPIO.OUT) # DB7 for j in range(4): GPIO.setup(COL[j], GPIO.OUT) GPIO.output(COL[j], 1) for i in range(4): GPIO.setup(ROW[i], GPIO.IN, pull_up_down=gpio.pud_up) # Initialise display lcd_init()
13 37 if not os.path.exists(temps.txt): file = open("temps.txt", "w") file.write("32,32,32,32,32,32,32,32,32") file.close file = open("temps.txt", "r") raw_temp_set = file.readline() tempset = raw_temp_set.split(',') channel = 0 while True: for j in range(4): GPIO.output(COL[j], 0) for i in range(4): if GPIO.input(ROW[i]) == 0: print(matrix[i][j]) if MATRIX[i][j] == '1': channel = 0; elif MATRIX[i][j] == '2': channel = 1; elif MATRIX[i][j] == '3': channel = 2; elif MATRIX[i][j] == '4': channel = 3; elif MATRIX[i][j] == '5': channel = 4; elif MATRIX[i][j] == '6': channel = 5;
14 38 elif MATRIX[i][j] == '7': channel = 6; elif MATRIX[i][j] == '8': channel = 7; elif MATRIX[i][j] == '9': channel = 8; elif MATRIX[i][j] == 'A': tempset[channel] = str(int(tempset[channel]) + 1) file = open("temps.txt", "w") file.write( str(tempset[0]) + ',' + str(tempset[1]) + ',' + str(tempset[2]) + ',' + str(tempset[3]) + ',' + str( tempset[4]) + ',' + str(tempset[5]) + ',' + str(tempset[6]) + ',' + str(tempset[7]) + ',' + str( tempset[8])) file.close() elif MATRIX[i][j] == 'B': tempset[channel] = str(int(tempset[channel]) - 1) file = open("temps.txt", "w") file.write( str(tempset[0]) + ',' + str(tempset[1]) + ',' + str(tempset[2]) + ',' + str(tempset[3]) + ',' + str( tempset[4]) + ',' + str(tempset[5]) + ',' + str(tempset[6]) + ',' + str(tempset[7]) + ',' + str( tempset[8])) file.close()
15 39 time.sleep(1) while (GPIO.input(ROW[i]) == 0): pass GPIO.output(COL[j], 1) # Send some test lcd_string("ch " + str(channel + 1),LCD_LINE_1) lcd_string('t' + str(read_temp()) + ' S' + str(tempset[channel]),lcd_line_2) #time.sleep(3) # 3 second delay deflcd_init(): # Initialise display lcd_byte(0x33,lcd_cmd) # Initialise lcd_byte(0x32,lcd_cmd) # Initialise lcd_byte(0x06,lcd_cmd) # Cursor move direction lcd_byte(0x0c,lcd_cmd) # Display On,Cursor Off, Blink Off lcd_byte(0x28,lcd_cmd) # Data length, number of lines, font size lcd_byte(0x01,lcd_cmd) # Clear display time.sleep(e_delay) deflcd_byte(bits, mode): # Send byte to data pins # bits = data # mode = True for character # False for command GPIO.output(LCD_RS, mode) # RS # High bits GPIO.output(LCD_D4, False) GPIO.output(LCD_D5, False)
16 40 GPIO.output(LCD_D6, False) GPIO.output(LCD_D7, False) if bits&0x10==0x10: GPIO.output(LCD_D4, True) if bits&0x20==0x20: GPIO.output(LCD_D5, True) if bits&0x40==0x40: GPIO.output(LCD_D6, True) if bits&0x80==0x80: GPIO.output(LCD_D7, True) # Toggle 'Enable' pin lcd_toggle_enable() # Low bits GPIO.output(LCD_D4, False) GPIO.output(LCD_D5, False) GPIO.output(LCD_D6, False) GPIO.output(LCD_D7, False) if bits&0x01==0x01: GPIO.output(LCD_D4, True) if bits&0x02==0x02: GPIO.output(LCD_D5, True) if bits&0x04==0x04: GPIO.output(LCD_D6, True) if bits&0x08==0x08: GPIO.output(LCD_D7, True)
17 41 # Toggle 'Enable' pin lcd_toggle_enable() deflcd_toggle_enable(): # Toggle enable time.sleep(e_delay) GPIO.output(LCD_E, True) time.sleep(e_pulse) GPIO.output(LCD_E, False) time.sleep(e_delay) deflcd_string(message,line): # Send string to display message = message.ljust(lcd_width," ") lcd_byte(line, LCD_CMD) for i in range(lcd_width): lcd_byte(ord(message[i]),lcd_chr) defread_temp_raw(): f = open(device_file, 'r') lines = f.readlines() f.close() return lines defread_temp(): lines = read_temp_raw() while lines[0].strip()[-3:]!= 'YES': time.sleep(0.2) lines = read_temp_raw()
18 42 equals_pos = lines[1].find('t=') if equals_pos!= -1: temp_string = lines[1][equals_pos + 2:] temp_c = int(temp_string) / 1000 return temp_c if name == ' main ': try: main() except KeyboardInterrupt: pass finally: lcd_byte(0x01, LCD_CMD) lcd_string("goodbye!",lcd_line_1) GPIO.cleanup() 4.6 การออกแบบโครงสร างเคร องทาน าอ น ร ปท 4.7 การออกแบบโครงสร างเคร องท าน าอ น
19 การนาอ ปกรณ มาต ดตามแบบ ร ปท 4.8 การน าอ ปกรณ มาต ดตามแบบ
20 ประกอบเคร องทาน าอ น ร ปท 4.9 ประกอบเคร องท าน าอ น
21 45 ผลการทดลอง หล งจากท ทดลองการใช เซนเซอร แล วน นผลท ได เป นไปตามท หว งไว แต ความเสถ ยร ของเซนเซอร น นไม ค อยจะเสถ ยรเท าท ควร เพราะบางคาบเวลาจะเก ดการ Time out สร ปผลการทดลอง จากการทดลองท ง 2 กรณ ในกรณ ท 4.1 เซนเซอร ท างานตามโปรแกรมท เข ยนไว แต ย งไม ค อย สเถ ยรภาพเพราะบางคาบเวลาย งม Time out
Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing
Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing Created by Simon Monk Last updated on 2016-11-03 12:19:05 AM UTC Guide Contents Guide Contents Overview Other Code Libraries Parts Hardware
More informationว ธ การต ดต ง Symantec Endpoint Protection
ว ธ การต ดต ง Symantec Endpoint Protection 1. Download File ส าหร บการต ดต ง 2. Install Symantec Endpoint Protection Manager 3. Install License 4. Install Symantec Endpoint Protection Client to Server
More informationLCD Display 16x2 with Buttons
Ausgabe 10.11.2017 Copyright by Joy-IT 1 Index 1. Connecting the Display 2. Installing the System 3. Usage & Example-Code 4. Support Ausgabe 10.11.2017 Copyright by Joy-IT 2 Dear customer thank you for
More informationVerified by Visa Activation Service For Cardholder Manual. November 2016
Verified by Visa Activation Service For Cardholder Manual November 2016 Table of Contents Contents Registration for Card Holder verification on ACS... 3 1. Direct Activation... 4 2. Changing personal information
More informationเคร องว ดระยะด วยแสงเลเซอร แบบม อถ อ ย ห อ Leica DISTO ร น D110 (Bluetooth Smart) ประเทศสว ตเซอร แลนด
เคร องว ดระยะด วยแสงเลเซอร แบบม อถ อ ย ห อ Leica DISTO ร น D110 (Bluetooth Smart) ประเทศสว ตเซอร แลนด 1. ค ณล กษณะ 1.1 เป นเคร องว ดระยะทางด วยแสงเลเซอร แบบม อถ อ 1.2 ความถ กต องในการว ดระยะทางไม เก น
More informationChapter 4. Introducing Oracle Database XE 11g R2. Oracle Database XE is a great starter database for:
Oracle Database XE is a great starter database for: Chapter 4 Introducing Oracle Database XE 11g R2 Developers working on PHP, Java,.NET, XML, and Open Source applications DBAs who need a free, starter
More informationISI Web of Science. SciFinder Scholar. PubMed ส บค นจากฐานข อม ล
2.3.3 Search Chem. Info. in Journal ส บค นจากฐานข อม ล - ฐานข อม ลท รวบรวมข อม ลของ journal จากหลาย ๆ แหล ง ISI http://portal.isiknowledge.com/portal.cgi/ SciFinder ต องต ดต งโปรแกรมพ เศษ และสม ครสมาช
More informationThe New Effective Tool for Data Migration from Old PACS (Rogan) to New PACS (Fuji Synapse) with Integrated Thai Patient Names
The New Effective Tool for Data Migration from Old PACS (Rogan) to New PACS (Fuji Synapse) with Integrated Thai Patient Names Thanongchai Siriapisith MD*, Trongtum Tongdee MD* * Department of Radiology,
More informationCPE 426 Computer Networks. Chapter 5: Text Chapter 23: Support Protocols
CPE 426 Computer Networks Chapter 5: Text Chapter 23: Support Protocols 1 TOPICS สร ปเร อง IP Address Subnetting Chapter 23: Supporting Protocols ARP: 23.1-23.7 ใช ส าหร บหา HW Address(MAC Address) ICMP:
More informationSEARCH STRATEGIES KANOKWATT SHIANGJEN COMPUTER SCIENCE SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITY OF PHAYAO
SEARCH STRATEGIES KANKWATT SHIANGJEN CMPUTER SCIENCE SCHL F INFRMATIN AND CMMUNICATIN TECHNLGY UNIVERSITY F PHAYA Search Strategies Uninformed Search Strategies (Blind Search): เป นกลย ทธ การ ค นหาเหม
More informationCrystal Report & Crystal Server 2016
Crystal Report & Crystal Server 206 Crystal Report เป นเคร องม อในการสร าง Report ท ม จ ดเด นในความสามารถเช อมต อฐานข อม ลท หลากหลาย เพ อนำา เอาข อม ลมาใช สร างรายงานสำาหร บการใช งานท วไปในงานธ รก จ ประจำาว
More informationINPUT Input point Measuring cycle Input type Disconnection detection Input filter
2 = TEMPERATURE CONTROLLER PAPERLESS RECORDER หน าจอเป น Touch Sceen 7-Inch LCD เก บข อม ลผ าน SD Card และ USB Memory ร บ Input เป น TC/RTD/DC Voltage/DC Current ร บ Input 6 Channel ช วงเวลาในการอ านส
More informationExport: Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Export: 29.04.2016 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Dear customer, thank you for purchasing our product. This high quality sensor kit was developed especially for the popular Open-Source
More informationChapter 8: Memory- Management Strategies Dr. Varin Chouvatut
Part I: Overview Part II: Process Management Part III : Storage Management Chapter 8: Memory- Management Strategies Dr. Varin Chouvatut, Silberschatz, Galvin and Gagne 2010 Chapter 8: Memory Management
More informationBeginner s Guide to the PI LCD
Beginner s Guide to the PI LCD Part 3: Graphics Intro Bruce E. Hall, W8BH 1) INTRODUCTION In Part 1 and Part 2 of this series, we learned how to check the switches and display text on the LCD board (available
More informationCamJam EduKit Robotics Worksheet Four Driving & Turning camjam.me/edukit
- Driving and Turning Project Description Driving and Turning You will learn how to make your robot move in the direction you want it to. Equipment Required For this worksheet, you will require: Your robot
More informationFundamentals of Database Systems
204222 - Fundamentals of Database Systems Chapter 24 Database Security Adapted for 204222 by Areerat Trongratsameethong Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Outline
More informationJavaScript Framework: AngularJS
บทท 8 JavaScript Framework: AngularJS ว ชา เทคโนโลย เว บ (รห สว ชา 04-06-204) ว ตถ ประสงค การเร ยนร เพ อให ผ เร ยนม ความร ความเข าใจเก ยวก บ JavaScript Framework: AngularJS เพ อให ผ เร ยนสามารถนาเสนอการดาเน
More informationร จ กก บ MySQL Cluster
ร จ กก บ MySQL Cluster ก ตต ร กษ ม วงม งส ข (Kittirak Moungmingsuk) kittirak@clusterkit.co.th May 19, 2012 @ossfestival #11 `whoami` A part of team at Cluster Kit Co.,Ltd. Since 2007. Adjacent Lecturer
More informationกองว ชาประว ต ศาสตร ส วนการศ กษา โรงเร ยนนายร อยพระจ ลจอมเกล า 18 ต ลาคม พ.ศ. 2549
บ ญช ด ชน เอกสารเก ยวก บประเทศไทยจากส าน กหอจดหมายเหต แห งชาต สหร ฐอเมร กา RG 226 Entry 153 A Records of the Office of Strategic Services: Washington Director's Office พ.ท.ผศ.ดร. ศรศ กร ช สว สด ผ รวบรวม
More informationCustard Pi 5 - Breakout board with protection for 8 digital I/O and stacking connector for the Raspberry Pi GPIO
SF Innovations Ltd Custard Pi 5 - Breakout board with protection for 8 digital I/O and stacking connector for the Raspberry Pi GPIO User Instructions (11th November 2016) Contents Introduction CE Compliance
More informationWhat s Hot & What s New from Microsoft ส มล อน นตธนะสาร Segment Marketing Manager
What s Hot & What s New from Microsoft ส มล อน นตธนะสาร Segment Marketing Manager 1 โปรแกรมท น าสนใจส าหร บไตรมาสน Crisis Turing Point II Oct-Dec 09 Windows 7 งานเป ดต วสาหร บล กค าท วไป, Paragon Hall,
More informationC Programming
204216 -- C Programming Chapter 5 Repetition Adapted/Assembled for 204216 by Areerat Trongratsameethong Objectives Basic Loop Structures The while Statement Computing Sums and Averages Using a while Loop
More informationSF Innovations Ltd. User Instructions (5th January 2016) Contents. Introduction
SF Innovations Ltd Custard Pi 1 - Breakout Board with protection for the Raspberry Pi GPIO Custard Pi 1A - Breakout Board for the Raspberry Pi GPIO User Instructions (5th January 2016) Contents Introduction
More informationหน า ๙ เล ม ๑๓๑ ตอนพ เศษ ๕๑ ง ราชก จจาน เบกษา ๑๙ ม นาคม ๒๕๕๗
หน า ๙ เล ม ๑๓๑ ตอนพ เศษ ๕๑ ง ราชก จจาน เบกษา ๑๙ ม นาคม ๒๕๕๗ ประกาศกระทรวงอ ตสาหกรรม ฉบ บท ๔๕๙๐ (พ.ศ. ๒๕๕๖) ออกตามความในพระราชบ ญญ ต มาตรฐานผล ตภ ณฑ อ ตสาหกรรม พ.ศ. ๒๕๑๑ เร อง ก าหนดมาตรฐานผล ตภ ณฑ อ ตสาหกรรม
More informationExample: How to create a shape from SpecialShapeFactory.
Example: How to create a shape from SpecialShapeFactory. // Create the Cross Shape ArrayList linelist = new ArrayList(); pointlist.add(new Point2D.Double(420.0,152.0)); pointlist.add(new
More informationโปรแกรมท น าสนใจส าหร บไตรมาสน
แคมเปญ และก จกรรมทางการตลาด (ต ลาคม ธ นวาคม 2552) โปรแกรมท น าสนใจส าหร บไตรมาสน Crisis Turing Point II Oct-Dec 09 Windows 7 งานเป ดต วสาหร บล กค าท วไป, Paragon Hall, 31 Oct -1 Nov งานเป ดต วสาหร บล กค
More informationChapter 9: Virtual-Memory Management Dr. Varin Chouvatut. Operating System Concepts 8 th Edition,
Chapter 9: Virtual-Memory Management Dr. Varin Chouvatut, Silberschatz, Galvin and Gagne 2010 Chapter 9: Virtual-Memory Management Background Demand Paging Copy-on-Write Page Replacement Allocation of
More informationTRAINING SCHEDULE 2012
TRAINING SCHEDULE 0 Title -Quality Management Systems (QM) : ISO 00:008 Introduction and Awareness to ISO 00:008,00 8 8 7 8 7 Introduction and Awareness to ISO 00:008 (English version),00 7 Guideline for
More informationBroken Characters Identification for Thai Character Recognition Systems
Broken Characters Identification for Thai Character Recognition Systems NUCHAREE PREMCHAISWADI*, WICHIAN PREMCHAISWADI* UBOLRAT PACHIYANUKUL**, SEINOSUKE NARITA*** *Faculty of Information Technology, Dhurakijpundit
More informationParallel K-means Clustering Algorithm on NOWs
243 Parallel K-means Clustering Algorithm on NOWs Sanpawat Kantabutra and Alva L. Couch Department of Computer Science Tufts University, Medford, Massachusetts, 02155, USA http://www.cs.tufts.edu/~{sanpawat,
More informationChapter 3 Outline. Relational Model Concepts. The Relational Data Model and Relational Database Constraints Database System 1
Chapter 3 Outline 204321 - Database System 1 Chapter 3 The Relational Data Model and Relational Database Constraints The Relational Data Model and Relational Database Constraints Relational Model Constraints
More informationC Programming
204216 -- C Programming Chapter 9 Character Strings Adapted/Assembled for 204216 by Areerat Trongratsameethong A First Book of ANSI C, Fourth Edition Objectives String Fundamentals Library Functions Input
More informationLab 10: Structs and Enumeration
Lab 10: Structs and Enumeration There is one more way to create your own value types in C#. You can use the struct keyword. A struct (short for structure) can have its own fields, methods, and constructors
More informationBeginner s Guide to the PI LCD
Beginner s Guide to the PI LCD Part 4: Graphics, W8BH 1) INTRODUCTION In the first three parts of this series, we learned how to display text and simple graphics on the LCD board (available from mypishop.com).
More informationLecture 6 Register Transfer Methodology. Pinit Kumhom
Lecture 6 Register Transfer Methodology Pinit Kumhom VLSI Laboratory Dept. of Electronic and Telecommunication Engineering (KMUTT) Faculty of Engineering King Mongkut s University of Technology Thonburi
More informationว.ว ทย. มข. 45(2) (2560) KKU Sci. J. 45(2) (2017) บทค ดย อ ABSTRACT
ว.ว ทย. มข. 45(2) 418-437 (2560) KKU Sci. J. 45(2) 418-437 (2017) การปร บปร งรห สล บฮ ลล โดยอาศ ยการเข ารห สล บเป นคาบสองช น และการแปรผ นความยาว A Modification of the Hill Cipher Based on Doubly Periodic
More informationRaspberry Pi Hacking
Raspberry Pi Hacking Loving your pi and hacking it too By: magikh0e Http://magikh0e.ihtb.org Last Update: September 2 2012 Hacking the Raspberry Pi and hacking things with the Raspberry Pi. Best of both
More informationLK-RB-Shield Ausgabe Copyright by Joy-IT
LK-RB-Shield LK-RB-Shield Index 1. Introduction 2. PIN Assignment 3. Setting up the Raspberry Pi 4. Activating the modules 5. Code example: Digital Channels 6. Code example: Analog Channels Dear customer,
More informationIS311. Data Structures and Java Collections
IS311 Data Structures and Java Collections 1 Algorithms and Data Structures Algorithm Sequence of steps used to solve a problem Operates on collection of data Each element of collection -> data structure
More informationPRICE LIST Video Transmission Fiber Optic Cable TEL: (May 2015) HD-AHD CCTV System
COMMUNICATION PRODUCTS Video Transmission Fiber Optic Cable PRICE LIST 2015 HD-AHD CCTV System HD-CVI CCTV System HD-TVI CCTV System Analog CCTV System (May 2015) www.facebook.com/bismonthailand TEL: 0-2563-5000
More informationCamJam EduKit Sensors Worksheet Five. Equipment Required. The Parts. The Passive Infrared Sensor
CamJam EduKit Sensors Worksheet Five Project Description Passive Infrared Sensor In this project, you will learn how to wire and program a passive infrared sensor that detects movement near it. Equipment
More informationแผนการสอนว ชา การเข ยนโปรแกรมคอมพ วเตอร 2 (Computer Programming 2) ภาคการศ กษา 1 ป การศ กษา 2559
แผนการสอนว ชา 01076235 การเข ยนโปรแกรมคอมพ วเตอร 2 (Computer Programming 2) ภาคการศ กษา 1 ป การศ กษา 2559 ค าอธ บายรายว ชา หล กการโปรแกรมเช งว ตถ เมธอด คลาส การซ อนสารสนเทศและการส บทอด อ ลกอร ท มพ นฐานการเร
More informationRaspberry Pi Activity 2: My Binary Addiction...Reloaded
The Science of Computing II Living with Cyber Raspberry Pi Activity 2: My Binary Addiction...Reloaded In this activity, you will re-implement the one-bit binary adder that was the subject of Raspberry
More informationEthernet'Basics. Topics
'Basics ผศ.ดร.ส ร นทร ก ตต ธรก ล และ อ.สรย ทธ กลมกล อม ภาคว ชาว ศวกรรมคอมพ วเตอร คณะว ศวกรรมศาสตร สถาบ นเทคโนโลย พระจอมเกล าเจ าค ณทหารลาดกระบ ง Topics History,)Standards,)Terminologies Transmission)media
More informationJoy-IT Ultrasonic Distance Sensor
Joy-IT Ultrasonic Distance Sensor Export 03.11.2017 Copyright by Joy-IT 1 Index 1. Using with an Arduino 1.1 Connecting the Module 1.2 Code-Example 2. Using with a Raspberry Pi 2.1 Installing the System
More informationThe Clustering Technique for Thai Handwritten Recognition
The Clustering Technique for Thai Handwritten Recognition Ithipan Methasate, Sutat Sae-tang Information Research and Development Division National Electronics and Computer Technology Center National Science
More information9 Output Devices: Buzzers
9 Output Devices: Buzzers Project In this project, you will learn how to connect and control LEDs (Light Emitting Diode) and a buzzer with the Raspberry Pi. Components In addition to your Raspberry Pi,
More informationElasticHosts Correspondents
ElasticHosts Email Correspondents Date: Fri, 23 Nov 2012 16:47:34 +0700 From: Chatchai Jantaraprim
More informationOPi.GPIO Documentation
OPi.GPIO Documentation Release 0.3.1 Richard Hull and contributors Jan 01, 2018 Contents 1 Installation 3 2 API Documentation 5 2.1 Importing the module.......................................... 5 2.2
More informationLecture Outline. 1. Semantic Web Technologies 2. A Layered Approach 3. Data Integration
Semantic Web Lecture Outline 1. Semantic Web Technologies 2. A Layered Approach 3. Data Integration Semantic Web Technologies Explicit Metadata Ontologies Logic and Inference Agents 3 On HTML Web content
More informationLooking forward to a successful coopertation : TEIN
Space Krenovation Park : SKP Looking forward to a successful coopertation : TEIN Geo-Informatics and Space Technology Development Agency : GISTDA Space Krenovation Park @ Chonburi 1 Mission TC/TM House
More informationLab Experiment 9: LCD Display
Lab Experiment 9: LCD Display 1 Introduction Liquid Crystal Displays (LCDs) provide an effective way for processors to communicate with the outside world. The LPC2148 board used in the lab is equipped
More information2017 PROGRAM PORTFOLIO
NSTDA Academy National Science and Development Agency,Yothee Office, 73/1 Rama 6 Road Payathai, Ratchathewi, Bangkok 10400, Thailand, Tel: 66 2644 8150 ต อ 81886-7, Fax: 66 2644 8110, www.nstdaacademy.com
More informationPUBLIC TRAINING PLAN
v Quality Management System Introduction to ISO 900:0 ISO 900:0 Audit Technique ISO 900:0 Internal Auditor 4- -4 7-8 4 ISO 900:0 Introduction and Internal Auditor 6-8 - 7-9 -4 8-0 0-8-0 IRCA Certified
More informationLecture 6 : Multitasking & DLL
Lecture 6 : Multitasking & DLL Multitask CreadThread, ExitThread, TerminateThread beginthreadex, endthreadex : memory leak SuspendThread, ResumeThread Sleep Thread priorities Synchronization CreateSemaphore,
More informationร ปแบบใหม ของการต ดต อส อสารไร สาย
ร ปแบบใหม ของการต ดต อส อสารไร สาย ค ณล กษณะของต วระบบ Motorola Wireless Canopy เป นอ ปกรณ ส อสารไร สายท ออกแบบมาเพ อการร บส งข อม ลแบบความเร วส ง (Broadband) โดยปราศจากส ญญาณรบกวนต างๆ โดยใช ความถ ย าน
More informationภาคผนวก ก Coding VPN IPSec Site-to-Site
ภาคผนวก 30 ภาคผนวก ก Coding VPN IPSec Site-to-Site Router HQ (R-HQ) hostname R-HQ ip dhcp excluded-address 172.16.100.1 172.16.100.99 ip dhcp excluded-address 172.16.100.200 172.16.100.254 ip dhcp excluded-address
More informationSEAS Computing Facility Raspberry Pi Workshop 2: I/O Camera & Motion Sensor. October 21, 2017
SEAS Computing Facility Raspberry Pi Workshop 2: I/O Camera & Motion Sensor October 21, 2017 Overview for Today Learn about new components Program a push-button ON/OFF input system for LED Connect and
More informationCATALOGUE N1506TH
CATALOGUE 06-07 N1506TH Copper cabling solution 2 types of connection for maximum choice BTNET offers a wide range of products to make copper wiring. It includes patch panels, patch cords, cables to make
More informationPart Picture Description Warranty
Logitech : Keyboard LGT-920-002149 Logitech Classic Keyboard K100 3 320.- LGT-920-002590 Logitech Keyboard K120 - THAI 3 359.- LGT-920-007596 K380 Multi-Device Bluetooth Keyboard - Black 1 1,290.- LGT-920-007597
More informationPERFORMANCE COMPARISON OF MIPv6 AND FMIPv6 OVER WLANS
PERFORMANCE COMPARISON OF MIPv6 AND FMIPv6 OVER WLANS PAIRAT NGAMTURA A RESEARCH PROJECT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE (COMPUTER SCIENCE) FACULTY
More informationSystem on Chip (SoC)
RASPBERRY PI BASICS System on Chip (SoC) What is System on Chip? A complex IC that integrates the major functional elements into a single chip or chipset. programmable processor on-chip memory accelerating
More informationCourse: Project Management Learning world class business project management skills
Course: Project Management Learning world class business project management skills Duration: 5 Days (9:00 16:00) Description: Your ability as a project manager to demonstrate best practices in project
More informationจาวา : Threads สมชาย ประส ทธ จ ตระก ล
จาวา : Threads สมชาย ประส ทธ จ ตระก ล Threads A thread == A virtual CPU Threads == Virtual CPUs sharing the same memory space running virtually at the same time Java supports multithreading Typically used
More informationChapter 11 Object-Oriented Design Exception and binary I/O can be covered after Chapter 9
Chapter 6 Arrays Chapter 8 Strings Chapter 7 Objects and Classes Chapter 9 Inheritance and Polymorphism GUI can be covered after 10.2, Abstract Classes Chapter 12 GUI Basics 10.2, Abstract Classes Chapter
More informationการสร างเว บเซอร ว สโดยใช Microsoft.NET
การสร างเว บเซอร ว สโดยใช Microsoft.NET อ.ดร. กานดา ร ณนะพงศา ภาคว ชาว ศวกรรมคอมพ วเตอร คณะว ศวกรรมคอมพ วเตอร มหาว ทยาล ยขอนแก น บทน า.NET เป นเคร องม อท เราสามารถน ามาใช ในการสร างและเร ยกเว บเซอร ว สได
More informationMT7049 การออกแบบและฐานข อม ลบนเว บ
MT7049 การออกแบบและฐานข อม ลบนเว บ 3 (2-2-5) Web Design and Web Database ส พจน เฮงพระพรหม http://home.npru.ac.th/supoj คาอธ บายรายว ชา แนวค ดองค ประกอบของเว บ หล กการออกแบบเว บ การว เคราะห เน อหา การออกแบบโครงสร
More informationAn SMS-Based Fault Dispatching System: An Additional Utilisation of a Mobile Phone Infrastructure
Walailak J Sci & Tech 2004; 1(2):107-118. 107 An SMS-Based Fault Dispatching System: An Additional Utilisation of a Mobile Phone Infrastructure Wattanapong KURDTHONGMEE 1 and Pongwirat KEMAPANMANAS 2 School
More informationToday Topics. Artificial Intelligent??? Artificial Intelligent??? Intelligent Behaviors. Intelligent Behavior (Con t) 20/07/52
Today Topics Artificial Intelligent Applications Opas Wongtaweesap (Aj OaT) Intelligent Information Systems Development and Research Laboratory Centre Faculty of Science, Silpakorn University Webpage :
More information10/07/56.
http://www.youtube.com/watch?v=sk2lfgh1c4q 50 Fall in love with Marketing Advertising Branding Graphic Design Marketing Public Relations Telemarketing 1 I m a great lover Hello Marketing I m a great lover
More informationการหาเส นทางในเคร อข ายเซ นเซอร ไร สายเคล อนท สาหร บช วการแพทย ด วย ร อ นฟอร สเมนท เล ร นน ง โดยใช ทร สท และเร บพ วเทช น นางสาวญาน นะพ ทธะ
การหาเส นทางในเคร อข ายเซ นเซอร ไร สายเคล อนท สาหร บช วการแพทย ด วย ร อ นฟอร สเมนท เล ร นน ง โดยใช ทร สท และเร บพ วเทช น นางสาวญาน นะพ ทธะ ว ทยาน พนธ น เป นส วนหน งของการศ กษาตามหล กส ตรปร ญญาว ศวกรรมศาสตรมหาบ
More informationGlossary. Mathematics Glossary. Elementary School Level. English Thai
Elementary School Level Glossary Mathematics Glossary English Thai Translation of Mathematics Terms Based on the Coursework for Mathematics Grades 3 to 5. This glossary is to PROVIDE PERMITTED TESTING
More informationRemote Monitoring and Controlling of a Material Science Experiment
Walailak J Sci & Tech 2004; 1(1):43-52. 43 Remote Monitoring and Controlling of a Material Science Experiment Wattanapong KURDTHONGMEE School of Engineering and Resources, Walailak University, Thasala,
More informationJOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY (JIST)
JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY (JIST) The Journal of Information Science and Technology (JIST) is an academic journal established by the collaboration of 18 faculties that conduct courses
More informationSpecifications 14TB 12TB 10TB 8TB 6TB 4TB 3TB 2TB 1TB
SEAGATE Internal Harddisk Drive Skyhawk : 3.5 ส นค า ร บประก น 3 ป Smart. Safe. Secure. : Seagate Surveillance-Optimized Storage Seagate SkyHawkค ม ครบ เพ อ อนาคต Hard disk ส าหร บกล องวงจรป ดโดยเฉพาะ
More informationfēnix 3 HR Quick Start Manual...1 ค ม อ Quick Start...27 Panduan Cepat Pengoperasian... 57
fēnix 3 HR Quick Start Manual...1 ค ม อ Quick Start...27 Panduan Cepat Pengoperasian... 57 Important Safety and Product Information WARNING Failure to avoid the following potentially hazardous situations
More informationDay1/Section 1 Network Tutorial Path 1. Rachan Lekkla, Ph.D (Teleommunications) Engineering Manager, EN HD
Day1/Section 1 Network Tutorial Path 1 Rachan Lekkla, Ph.D (Teleommunications) Engineering Manager, EN HD 1 Outline 1. Principle of Data Communication 2. Shannon Theory 3. Nyquist Theory 4. Computer Network
More informationSF Innovations Ltd. Custard Pi 3-8 Analogue input board for the Raspberry Pi GPIO. User Instructions (13th December 2016) Contents.
SF Innovations Ltd Custard Pi 3-8 Analogue input board for the Raspberry Pi GPIO User Instructions (3th December 206) Contents Introduction CE Compliance and Safety Information Circuit Description Parts
More informationI/O. Output. Input. Input ของจาวา จะเป น stream จะอ าน stream ใช คลาส Scanner. standard input. standard output. standard err. command line file.
I/O and Exceptions I/O Input standard input keyboard (System.in) command line file Output standard output Screen (System.out) standard err file System.err Input ของจาวา จะเป น stream จะอ าน stream ใช คลาส
More informationA First Book of ANSI C Fourth Edition. Chapter 9 Character Strings
A First Book of ANSI C Fourth Edition Chapter 9 Character Strings Objectives String Fundamentals Library Functions Input Data Validation Formatting Strings (Optional) Case Study: Character and Word Counting
More informationELCT501 Digital System Design Winter Tutorial #11 FPGA Complete Design Flow with LCD Example
ELCT501 Digital System Design Winter 2014 Tutorial #11 FPGA Complete Design Flow with LCD Example Design a 4-bit Up-Counter with Enable Design Flow Steps: 1. Write VHDL code for the counter. 2. Test the
More informationนางสาวส ภาภรณ กานต สมเก ยรต
เทคน คการว เคราะห เพ อเพ มความสามารถในการทดสอบคลาสคอมโพเนนท นางสาวส ภาภรณ กานต สมเก ยรต ว ทยาน พนธ น เป นส วนหน งของการศ กษาตามหล กส ตรปร ญญาว ศวกรรมศาสตรด ษฎ บ ณฑ ต สาขาว ชาว ศวกรรมคอมพ วเตอร ภาคว ชาว
More informationGooligum Electronics 2015
The Wombat Prototyping Board for Raspberry Pi Operation and Software Guide This prototyping board is intended to make it easy to experiment and try out ideas for building electronic devices that connect
More informationAJAX เสถ ยร ห นตา ส าน กเทคโนโลย สารสนเทศและการส อสาร มหาว ทยาล ยนเรศวร พะเยา
AJAX เสถ ยร ห นตา ส าน กเทคโนโลย สารสนเทศและการส อสาร มหาว ทยาล ยนเรศวร พะเยา 1 Ajax ( Asynchronous JavaScript and XML ) Ajax ค ออะไร JavaScript DHTML = Dynamic HTML XML = Extensive Markup Language Css
More informationBasic Electronics and Raspberry Pi IO Programming
Basic Electronics and Raspberry Pi IO Programming Guoping Wang Indiana University Purdue University Fort Wayne IEEE Fort Wayne Section wang@ipfw.edu February 18, 2016 Table of Contents 1 Safety Guideline
More informationDeveloping Web Applications with Microsoft Visual Studio 2010
Developing Web Applications with Microsoft Visual Studio 2010 Overview In this course, students will learn to develop advanced ASP.NET MVC and Web Forms applications using.net Framework 4 tools and technologies.
More informationChapter 3. Legal, Ethical & Professional Issues in Information Security & Network Vulnerabilities and Attacks
Chapter 3 Legal, Ethical & Professional Issues in Information Security & Network Vulnerabilities and Attacks Resource from : Dr.Sukchatri PRASOMSUK School of Information Technology and Communication, University
More informationA Beginners Guide to Raspberry Pi
A Beginners Guide to Raspberry Pi WHAT IS THE RASPBERRY PI? Features It is a low-cost, credit-card sized computer developed in the UK by the Raspberry Pi Foundation. It has been designed with education
More informationDEVELOPMENT OF SHIPMENT STATUS TRACKING SYSTEM VIA THE INTERNET (CASE STUDY: FOOD INGREDIENTS DEPARTMENT DIETHELM TRADING CO.
DEVELOPMENT OF SHIPMENT STATUS TRACKING SYSTEM VIA THE INTERNET (CASE STUDY: FOOD INGREDIENTS DEPARTMENT DIETHELM TRADING CO., LTD) YAOVARES PHAINPANITPORN A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF
More informationInteractive Segmentation and Three-Dimension Reconstruction for Cone-Beam Computed-Tomography Images
Interactive Segmentation and Three-Dimension Reconstruction for Cone-Beam Computed-Tomography Images Siriwan Suebnukarn, DDS, PhD Faculty of Dentistry, Thammasat University Klongluang, Pathumthani, Thailand,
More informationLecture 5: Introducing Dialog Boxes & Child Window Controls for Win 32 API
Lecture 5: Introducing Dialog Boxes & Child Window Controls for Win 32 API What is Dialog Box? How to make your project to have a Dialog Box Modal Dialog Modeless Dialog WM_INITDIALOG Child Window Controls
More informationDragon12 LCD Displays Hantronix_CLD.PDF data sheet (Dragon12 CD-ROM) Dragon12 LCD Display. The Dragon12 board has a 16 character x 2 line display
Dragon12 LCD Displays Hantronix_CLD.PDF data sheet (Dragon12 CD-ROM) o Using the Dragon12 LCD display Dragon12 LCD Display The Dragon12 board has a 16 character x 2 line display Each character is a 5x7
More informationF28HS Hardware-Software Interface: Systems Programming
F28HS Hardware-Software Interface: Systems Programming Hans-Wolfgang Loidl School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh Semester 2 2016/17 0 No proprietary software has
More informationIntroduction to Java Language 2
Introduction to Java Language 2 ปร ดา เล ศพงศ ว ภ ษณะ plw@ku.ac.th ภาคว ชาว ศวกรรมคอมพ วเตอร คณะว ศวกรรมศาสตร มหาว ทยาล ยเกษตรศาสตร 23 ม ถ นายน 2547 ปร ดา เล ศพงศ ว ภ ษณะ (plw@ku.ac.th) 1 Primitive Data
More informationIS311 Programming Concepts. Abstract Window Toolkit (part 1: Drawing Simple Graphics)
1 IS311 Programming Concepts Abstract Window Toolkit (part 1: Drawing Simple Graphics) 2 Abstract Window Toolkit The Abstract Window Toolkit (AWT) package contains all the classes for creating user interfaces
More informationTWO PLAYER REACTION GAME
LESSON 18 TWO PLAYER REACTION GAME OBJECTIVE For your final project for this level for the course, create a game in Python that will test your reaction time versus another player. MATERIALS This lesson
More informationEMBEDDED HARDWARE DESIGN. Tutorial Interfacing LCD with Microcontroller /I
EMBEDDED HARDWARE DESIGN Tutorial Interfacing LCD with Microcontroller 2009-10/I LCD (Liquid Crystal Display) has become very popular option for displaying in Embedded Applications. Since they are very
More informationThai Text Localization in Natural Scene Images using Convolutional Neural Network
Thai Text Localization in Natural Scene Images using Convolutional Neural Network Thananop Kobchaisawat * and Thanarat H. Chalidabhongse * Department of Computer Engineering, Chulalongkorn University,
More informationContents. A Brand Guidelines. 02. Logo Appearance. 08. Typography. 13. Showcase. Updated: December 2016
Contents 02. Logo Appearance 08. Typography A Brand Guidelines 13. Showcase Updated: December 2016 Corporate Brand The Microscan name and trademark are among our most valuable corporate assets. They are
More information